<template>
	<el-input v-model="value" @change="onChangeHandler" size="mini"></el-input>
</template>

<script>
	export default {
		name: "PropertyTextComponent",
		props: [
			"propertyName",
			"propertyValue"
		],beforeMount() {
			this.value=this.propertyValue;
		},
		data() {
			return {
				value: "",
				
			}
		},
		methods: {
			onChangeHandler:function(){
				this.$emit("change",this.propertyName,this.value);
			}
		}
	}
</script>

<style>
</style>
